//设置默认值
const initState = [{name:'',id:'',al:{picUrl:''}}]
//榜单下的歌曲

export default function (state = initState, action) {
    let { type, payload } = action;
    switch (type) {
        case 'LIST_MUSIC':
            return [...payload]
        default:
            return state
    }
}